//
//  SINAStubarUtils.m
//  dentaldepartment
//
//  Created by  androidlongs on 2018/3/5.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import "SINAStubarUtils.h"

@implementation SINAStubarUtils
//设置状态栏颜色
+(void)setStatusBarBackgroundColor:(UIColor *)color {
    
    UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"];
    if ([statusBar respondsToSelector:@selector(setBackgroundColor:)]) {
        statusBar.backgroundColor = color;
    }
}
@end
